package com.example.sharding.enerty;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.example.sharding.utils.BaseVo;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @program: test_demo
 * @description: 数据字典kv转化表
 * @author: yanghua
 * @create: 2021-11-01 11:45
 **/
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class TAnnotationDataItem extends BaseVo {

    @TableId(type = IdType.NONE)
    private Long id;

    @TableField("datasource")
    private String datasource;

    @TableField("code")
    private String code;

    @TableField("val")
    private String val;

}
